// 用于配置axios的实例
import axios from "axios";
const axiosInstance=axios.create({
    baseURL:"http://www.softeem.xin:9999",
    timeout:10000,
});

//后面还需要配置请求拦截和响应拦截
axiosInstance.interceptors.response.use(res=>{
    return Promise.resolve(res.data)
},error=>{
    return Promise.reject(error)
});
export default axiosInstance;